OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
array_extents< T[N1][N2]> Struct Template Reference

Struct that give functionalities on array extensions. More...

Detailed Description

template<typename T, size_t N1, size_t N2>
struct array_extents< T[N1][N2]>

Struct that give functionalities on array extensions.

Multiplication of all the extents

size_t mul = array_extents<float>::mul();
BOOST_REQUIRE_EQUAL(mul,1ul);
BOOST_REQUIRE_EQUAL(mul,3ul);
BOOST_REQUIRE_EQUAL(mul,3ul*2ul);
BOOST_REQUIRE_EQUAL(mul,3ul*2ul*5ul);

Definition at line 48 of file mul_array_extents.hpp.

#include <mul_array_extents.hpp>

Static Public Member Functions

static size_t mul ()
 

The documentation for this struct was generated from the following file: